package bz.ziro.kanbe.controller.mng.list;

import java.util.List;
import java.util.logging.Logger;
import org.slim3.controller.Controller;
import org.slim3.controller.Navigation;

import bz.ziro.kanbe.dao.SiteListDao;
import bz.ziro.kanbe.model.SiteList;

/**
 * リストのリスト取得
 * @author Administrator
 */
public class ListController extends Controller {

    @SuppressWarnings("unused")
    private static final Logger logger = Logger.getLogger(ListController.class.getName());

    @Override
    public Navigation run() {
        //全件取得
        List<SiteList> siteList = SiteListDao.all();
        requestScope("list",siteList);
        return forward("list.jsp");
    }
}
